<?php
class modules_default_forms_AddressForm extends forms_FormBase
{
	/**
	 * Init
	 * @see Zend/Zend_Form#init()
	 */
	public function init()
	{
		$oTitleElement = new Zend_Form_Element_Text('title');
		$oTitleElement = $this->_initDefaultFiltersAndValidators($oTitleElement, false);
		$this->addElement($oTitleElement);

		$oFirstNameElement = new Zend_Form_Element_Text('first_name');
		$oFirstNameElement = $this->_initDefaultFiltersAndValidators($oFirstNameElement);
		$this->addElement($oFirstNameElement);

		$oLastNameElement = new Zend_Form_Element_Text('last_name');
		$oLastNameElement = $this->_initDefaultFiltersAndValidators($oLastNameElement);
		$this->addElement($oLastNameElement);

		$oCompanyElement = new Zend_Form_Element_Text('company');
		$oCompanyElement = $this->_initDefaultFiltersAndValidators($oCompanyElement, false);
		$this->addElement($oCompanyElement);

		$oAddressElement = new Zend_Form_Element_Text('address');
		$oAddressElement = $this->_initDefaultFiltersAndValidators($oAddressElement, false);
		$this->addElement($oAddressElement);

		$oCityElement = new Zend_Form_Element_Text('city');
		$oCityElement = $this->_initDefaultFiltersAndValidators($oCityElement, false);
		$this->addElement($oCityElement);

		$oZipElement = new Zend_Form_Element_Text('zip');
		$oZipElement = $this->_initDefaultFiltersAndValidators($oZipElement, false);
		$this->addElement($oZipElement);

		$oCountryElement = new Zend_Form_Element_Text('country');
		$oCountryElement = $this->_initDefaultFiltersAndValidators($oCountryElement, false);
		$this->addElement($oCountryElement);
	}
}